﻿using System.Threading.Tasks;
using NetMicro.Core.Ioc.Dependencies;

namespace NetMicro.Cache.DelayBus
{
    /// <summary>
    /// 延迟任务执行事件
    /// </summary>
    public interface IDelayProcessor: ISingleton
    {
        /// <summary>
        /// 延迟任务执行
        /// </summary>
        /// <returns></returns>
        Task ExecuteAsync(EventJob job);
    }
}
